export interface LoginForm {
  username: string
  password: string
}

interface DataType {
  token: string
  message?: string
}

export interface LoginResponseData {
  code: number
  data: DataType
}

interface CheckUserType {
  userId: number
  avatar: string
  username: string
  password: string
  desc: string
  roles: string[]
  buttons: string[]
  routes: string[]
  token: string
}

interface UserType {
  checkUser: CheckUserType
}

export interface UserRespenseData {
  code: number
  data: UserType
}
